
* {
    margin: 0px auto;
    padding: 0px;
    border: 0px;
    -webkit-appearance: none;
    outline: none;
}

body {
    background-color: #cad0b8;
}

div#nav {
    width: 100%;
    height: 48px;
    position: fixed;
    background-color: #ff5451;
    border-bottom: 1px solid darkgray;
    z-index: 100;
}

div#title {
    line-height: 48px;
    text-align: center;
    color: white;
    font-size: 20px;
}

svg.back {
    position: absolute;
    left: 10px;
    top: 12px;
    width: 24px;
    height: 24px;
    transition: All 0.3s;
    -webkit-transition: All 0.3s;
    opacity: 0;
}

svg.back.show {
    opacity: 1;
}

svg.back:active {
    stroke: #999999;
}

div.container {
    width: 100%;
    padding-top: 48px;
    position: absolute;
    height: -webkit-calc(100%);

}

div#containerList {
    position: absolute;
    display: none;
}

div#containerList.show {
    display: block;
}

#containerDetail {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #cad0b8;
    display: none;
    z-index: 1;
}

#containerDetail.show {
    display: block;
}

#containerDetail.animIn {
    animation: moveIn 0.4s;
    -webkit-animation: moveIn 0.4s;
}

#containerDetail.animOut {
    animation: moveOut 0.4s;
    -webkit-animation: moveOut 0.4s;
}

#detail {
    /*position: absolute;*/
    width: 100%;
    padding: 16px;
    color: #2b3548;
}

.item {
    padding: 16px;
    border-bottom: 1px solid lightgray;
    box-shadow: 0px 0px 1px #777777;
}

.item[size] {
    min-height: 48px;
}

.item:active {
    background-color: #78767e;
}

.content {
    font-size: 14px;
    color: #2b3548;
    /*最多显示两行,多余的展示...*/
    display:-webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.content[size] {
    /*width: -webkit-calc(100% - 50px);*/
    margin-right: 50px;
}

.content:active {
    color: white;
}

.imageSmall {
    width: 48px;
    height: 48px;
    vertical-align: text-top;
    position: absolute;
    right: 16px;
}

.imageLarge {
    margin-left: 16px;
    margin-right: 16px;
}

@keyframes moveIn
{
    0%   {left:100%; }
    75%  {left:10%;}
    100% {left:0%;}
}

@keyframes moveOut
{
    0%   {left:0%; }
    75%  {left:90%;}
    100% {left:100%;}
}